package com.wumai.keystrokes.models;

public class Position {
    private float x;
    private float y;
    public Position(float x, float y) {
        this.x = x;
        this.y = y;
    }

    public Position() {

    }

    public float getX() { return x; };

    public void setX(float x) {
        if (x > -1.0 && x < 1.0)
            this.x = x;
    }

    public float getY() { return y; }

    public void setY(float y) {
        if (y > -1.0 && y < 1.0)
            this.y = y;
    }
}
